
	
		<div class="employees form">
		<?php echo $this->Form->create('Employee');?>
			<fieldset>
		 		<legend><?php __('Add Employee'); ?></legend>
		 		<table>
		 			<tr>
		 				<td><?php echo $this->Form->input('name');?></td>
		 				<td><?php echo $this->Form->input('surname');?></td>
		 			</tr>

		 			<tr>
		 				<td><?php echo $this->Form->input('phone1');?></td>
		 				<td><?php echo $this->Form->input('email');?></td>
		 			</tr>
		 			<?php if($session->read('Auth.User.group') == 'admin' || $session->read('Auth.User.group') == 'manag' ){?>
		 			<tr>
		 				<td><?php echo $this->Form->input('group',array('value'=>$this->data['User']['group']));?></td>
		 				<td><?php echo $this->Form->input('password');?></td>
		 			</tr>	
		 			<?php }?>	 			
		 		</table>			
			</fieldset>
		<?php echo $this->Form->end(__('Submit', true));?>
		</div>

			
		<div class="actions">
			<h3><?php __('Actions'); ?></h3>
			<ul>		
				<li><?php echo $this->Html->link($html->image('firma/actions_employees.png'), array('controller' => 'employees', 'action' => 'index'),array('escape'=>false,'title'=>__('List Employees', true))); ?> <div class="clr"></div> <?php echo __('List Employees', true)?></li>				
			</ul>
		</div>
